@import url('https://fonts.googleapis.com/css2?family=Quicksand&display=swap');

:root {
  font-size: 15px;
}

* {
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

h2 {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 140px;
  font-weight: lighter;
  color: rgb(255, 255, 255);
  outline: none;
}
@font-face {
  font-family: "myFont";
  src: url("yezigongchangtangyinghei.ttf");
}

h2 span {
  font-family: "myFont";
  transition: 0.5s;
}

h2:hover span:nth-child(1) {
  margin-right: 15px;
}

h2:hover span:nth-child(2) {
  margin-right: 10px;
  margin-left: 10px;
}
h2:hover span:nth-child(3) {
  margin-right: 10px;
  margin-left: 10px;
}
h2:hover span:nth-child(4) {
  margin-right: 10px;
  margin-left: 10px;
}
h2:hover span:nth-child(5) {
  margin-right: 10px;
  margin-left: 10px;
}

h2:hover span:last-child {
  margin-left: 15px;
}

.login{
  display: block;
  box-sizing: border-box;
  margin:40px auto;
  text-decoration: none;
  width: 200px;
  letter-spacing: 10px;
  line-height: 50px;
  text-align: center;
  
  font-size: 30px;
  border: 2px solid white;
  color: rgb(255, 255, 255);
  border-radius: 50px;
}
.login:hover{
  background-color: rgba(255, 255, 255, 0.231);
  color: rgb(185, 173, 255);
}

.footer {
  box-sizing: border-box;
  position: absolute;
  bottom: 40px;
  width: 100%;
  height: 50px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #666;
  line-height: 37px
}

@font-face {
  font-family: "Soph";
  src: url("../LucySaidOkPersonalUseItalic-OV9ee.ttf");
}

.footer span {
  font-family: "Soph";
  color: #d34e6d;
  font-size: 45px;
}

.footer a {
  text-decoration: none;
  color: #d34e6d;
}
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden; /* 隐藏滚动条 */
}

.video-background {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  z-index: -1; /* 确保内容在视频之上 */
}

.video-background video {
  /* 让视频覆盖整个背景 */
  min-width: 100%;
  min-height: 100%;
  /* 宽度和高度自动调整 */
  width: auto;
  height: auto;
  /* 居中视频 */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* 确保视频在调整大小时不会失去其比例 */
  object-fit: cover;
}

.content {
  position: relative; /* 确保内容在视频之上 */
  z-index: 1;
  color: #fff; /* 根据视频亮度调整文本颜色 */
  text-align: center;
  padding-top: 100px; /* 根据需要调整 */

}